//
//  SubcribeSectionController.h
//  NewsReader
//
//  Created by blacksun on 10-12-7.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HttpUtil.h"
#import "ModelParseUtil.h"
#import "ImageDownloader.h"

#define kImageX		5.0
#define kImageY		5.0
#define kImageWidth		64.0
#define kImageHeight	54.0
#define kImageViewTag	1000
#define kLabelTag		10001
#define kSubcribeIamgeTag	10


@interface SubcribeSectionController : UIViewController <UITableViewDelegate,UITableViewDataSource,ImageDownloaderDelegate> {
	NSMutableArray *sections;
	NSMutableArray *httpUtils;
	NSMutableDictionary *inprocessDownload;
	UITableView *tableView;
	UILabel *titelLabel;
	UIView *loadingView;
	NSMutableArray *subcribedSectionIds;
	
}
@property(nonatomic, retain) NSMutableArray *subcribedSectionIds;
@property(nonatomic, retain) IBOutlet UIView *loadingView;
@property(nonatomic, retain) IBOutlet UILabel *titelLabel;
@property(nonatomic, retain) IBOutlet UITableView *tableView;
@property(nonatomic, retain) NSMutableArray *sections; 
@property(nonatomic, retain) NSMutableArray *httpUtils;
@property(nonatomic, retain) NSMutableDictionary *inprocessDownload;

-(IBAction)goBack:(id)sender;
@end
